//
//  ZFApplyInfoHttpRequest.h
//  HappilyLoan
//
//  Created by zainishenbian on 2017/4/7.
//  Copyright © 2017年 zongqingxiangqian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ZFUserBaseInfoModal.h"
#import "ZFUserSocialInfomodal.h"
#import "ZFFinancelInfoModal.h"
#import "ZFUserProfessionInfoModal.h"
#import "ZFContactInfoModal.h"
#import "ZFUserBankCardInfoModal.h"
#import "ZFUserIDVerifyInfomodal.h"
#import "ZFHttpTool.h"

@interface ZFApplyInfoHttpRequest : NSObject
//提交用户基本资料
+ (void)requestSubmitUserBaseInfo:(ZFUserBaseInfoModal *)userBaseInfo sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//提交用户社会资料
+ (void)requestSubmitUserSocialInfo:(ZFUserSocialInfomodal *)usersocialInfo sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//提交用户财务信息
+ (void)requestSubmitFinancelInfo:(ZFFinancelInfoModal *)financelInfo sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//提交紧急联系人资料
+ (void)requestSubmitContactInfo:(NSArray *)contactarray sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//提交用户职业信息
+ (void)requestSubmitProfessionInfo:(ZFUserProfessionInfoModal *)professionInfo sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//提交用户银行卡信息
+ (void)requestSubmitUserBankCardInfo:(ZFUserBankCardInfoModal *)bankInfo smsCode:(NSString *)smsCode sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//提交身份认证信息
+ (void)requestSubmitUserIDVerifyInfo:(ZFUserIDVerifyInfomodal *)IDVerifyInfo sucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//查询芝麻授权是否完成
+ (void)requestCheckZMAuthorizeStatusComplete:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
//获取芝麻信用授权链接
+ (void)requestSesameCreditUrlSucessBlock:(void(^)(NSDictionary *dict))successBlock failureBlock:(void(^)(NSInteger failSign))failureBlock;
@end
